import bsddb

def get_coder(db="/home/jay/codes.db"):
    b = bsddb.btopen(db, 'r')
    return b
